home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
comm
/
net
/
AmiMUD.lha
/
AmiMUD
/
rexx
/
savebid.amud
< prev
Wrap
Text File
|
1997-03-08
|
603b
|
32 lines
/* Medievia script to save the bidding results to a file
* launch it ONE time from shell or from AmiMUD. It will save
* all the identifications to the file name in the variable savefile.
* This script have to be used in conjunction with the following trigger:
*
* trigger=min bid is
* bid ?\n
*
*/
savefile=dh1:objects
address 'AmiMUD.1'
do forever
'am_log 10 LOGS WAITFOR "divination"'
open( 'temp',savefile,'A')
ok=0
do i=0 to 9
if pos('br>',LOGS.i)>0 then do
ok=1
writeln('temp',"--------------------")
end
if ok=0 then writeln('temp',LOGS.i)
end
close ('temp')
end